<TITLE>Workflow.NET <%#actionname%>-<%#propertyname%></TITLE>
<STYLE><%#stylesheet%></STYLE>
<BODY marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" width="300" onresize="resizecontrols();">
	<form name="wf_theform">
		<TABLE width="100%" height="100%" bgcolor="<%#bgcolor%>" cellspacing="0" cellpadding="0">
			<TR>
				<TD valign="top">
					<TABLE>
						<TR>
							<TD>
								<B><%#actionname%>-</B><%#propertyname%>
							</TD>
						</TR>
						<TR>
							<TD colspan="2">
								<Textarea style="width:490;height:325" class="list" id="wf_textarea" name="wf_textarea"><%#value%></Textarea>
							</TD>
						</TR>
					</TABLE>
					<BR>
				</TD>
			</TR>
			<TR>
				<TD height="1" bgcolor="black"><IMG src="?drawimage=spacer.gif" height="1"></TD>
			</TR>
			<TR>
				<TD height="1" bgcolor="white"><IMG src="?drawimage=spacer.gif" height="1"></TD>
			</TR>
			<TR>
				<TD align="right" height="30">
					<input type="button" class="buttons" value="Update" style="width:<%#buttonwidth%>" name="btnok" onclick="submitform();" ID="Button1">
					<input type="button" class="buttons" value="Cancel" style="width:<%#buttonwidth%>" ID="btnCancel" onclick="window.close();" NAME="btnCancel">
				</TD>
			</TR>
		</TABLE>
	</form>
</BODY>
<SCRIPT>
document.wf_theform.wf_textarea.focus();
function resizecontrols()
{
	document.wf_theform.wf_textarea.style.width = document.body.offsetWidth - 10
	document.wf_theform.wf_textarea.style.height= document.body.offsetHeight - 100
}
function submitform()
{
window.opener.properties("_hidtempstore",document.wf_theform.wf_textarea.value);
window.opener.submitform("?mode=edit&<%#qspropertypagename%>=<%#propertypage%>&<%#qspropertyname%>=<%#propertyname%>&<%#SelectedItemQueryString%>")
window.close();
} </SCRIPT>
